package org.lucky_common.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_invite")
public class InviteParam extends Model<InviteParam> implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField("count2")
    private Integer count2 = 0;
    @TableField("effectiveCount")
    private Integer effectiveCount = 0;
    @TableField("invitedCode")
    private String invitedCode;
    @TableField("parentId")
    private Long parentId;
    @TableField("data")
    private String data;
    @TableField("clickCount")
    private Integer clickCount = 0;

}
